Pixeldev\SquareWooSync\REST\SettingsController S

Total Complexity 39
Dependencies 8
Dependents 2
Total lines 395
Lines of code 266
Logical lines of code 136
Comment lines 60
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cron()
A
41 12 51
update_settings()
S
51 6 27
get_settings()
S
53 5 22
register_routes()
S
41 1 79
update_inventory_for_all_products()
S
60 3 14
get_access_token()
S
61 3 11
update_gateway_settings()
S
58 2 14
set_access_token()
S
59 2 13
get_gateway_settings()
S
62 2 10
get_all_products()
S
60 1 13
get_locations()
S
71 1 5
delete_access_token()
S
67 1 7